import { reactive } from "vue";

export default function useData() {
  const pageData = reactive({
    columnData: [
      {
        label: "序号",
        prop: "no",
        width: "80px",
        sortable: true
      },
      {
        label: "文件名",
        prop: "file",
        width: "auto"
      },
      {
        label: "文件大小",
        prop: "size",
        width: "auto"
      },
      {
        label: "备份时间",
        prop: "time",
        width: "auto"
      },
      {
        label: "备份内容",
        prop: "data",
        width: "auto"
      },
      {
        label: "操作",
        prop: "operation",
        width: "auto"
      }
    ]
  });
  return {
    pageData
  };
}
